# -*- coding: utf-8 -*-

#iibsoft - un software para el cálculo del índice de integridad biótica
#Copyright (C) 2007 Claudio A. Quezada R. <claudio.quezada.r@gmail.com>
#http://www.esteropuangue.cl/iibsoft - http://iibsoft.googlecode.com

#Este programa es Software Libre; usted puede redistribuirlo
#y/o modificarlo bajo los términos de la "GNU General Public
#License" como lo publica la "FSF Free Software Foundation",
#o (a su elección) de cualquier versión posterior.

#Este programa es distribuido con la esperanza de que le será
#útil, pero SIN NINGUNA GARANTIA; incluso sin la garantía
#implícita por el MERCADEO o EJERCICIO DE ALGÚN PROPÓSITO en
#particular. Vea la "GNU General Public License" para más
#detalles.

#Usted debe haber recibido una copia de la "GNU General Public
#License" junto con este programa, si no, escriba a la "FSF
#Free Software Foundation, Inc.", 59 Temple Place - Suite 330,
#Boston, MA  02111-1307, USA, 
#o visite el sitio de iibsoft: http://iibsoft.googlecode.com

from PyQt4 import QtCore, QtGui

class Ui_Estadistica(object):
    def setupUi(self, Estadistica):
        Estadistica.setObjectName("Estadistica")
        Estadistica.resize(QtCore.QSize(QtCore.QRect(0,0,546,354).size()).expandedTo(Estadistica.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(Estadistica)
        self.gridlayout.setObjectName("gridlayout")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName("hboxlayout")

        self.vboxlayout = QtGui.QVBoxLayout()
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setMargin(0)
        self.vboxlayout.setObjectName("vboxlayout")

        self.label = QtGui.QLabel(Estadistica)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.vboxlayout.addWidget(self.label)

        self.variablesDisp = QtGui.QListWidget(Estadistica)
        self.variablesDisp.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
        self.variablesDisp.setObjectName("variablesDisp")
        self.vboxlayout.addWidget(self.variablesDisp)
        self.hboxlayout.addLayout(self.vboxlayout)

        self.vboxlayout1 = QtGui.QVBoxLayout()
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setMargin(0)
        self.vboxlayout1.setObjectName("vboxlayout1")

        spacerItem = QtGui.QSpacerItem(20,71,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout1.addItem(spacerItem)

        self.btnAgregar = QtGui.QPushButton(Estadistica)
        self.btnAgregar.setObjectName("btnAgregar")
        self.vboxlayout1.addWidget(self.btnAgregar)

        self.btnEliminar = QtGui.QPushButton(Estadistica)
        self.btnEliminar.setObjectName("btnEliminar")
        self.vboxlayout1.addWidget(self.btnEliminar)

        spacerItem1 = QtGui.QSpacerItem(20,71,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout1.addItem(spacerItem1)
        self.hboxlayout.addLayout(self.vboxlayout1)

        self.vboxlayout2 = QtGui.QVBoxLayout()
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setMargin(0)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.label_2 = QtGui.QLabel(Estadistica)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName("label_2")
        self.vboxlayout2.addWidget(self.label_2)

        self.variablesSel = QtGui.QListWidget(Estadistica)
        self.variablesSel.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
        self.variablesSel.setObjectName("variablesSel")
        self.vboxlayout2.addWidget(self.variablesSel)
        self.hboxlayout.addLayout(self.vboxlayout2)
        self.gridlayout.addLayout(self.hboxlayout,0,0,1,4)

        self.groupBox_2 = QtGui.QGroupBox(Estadistica)
        self.groupBox_2.setObjectName("groupBox_2")

        self.gridlayout1 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout1.setMargin(3)
        self.gridlayout1.setSpacing(2)
        self.gridlayout1.setObjectName("gridlayout1")

        self.proporciones = QtGui.QCheckBox(self.groupBox_2)
        self.proporciones.setObjectName("proporciones")
        self.gridlayout1.addWidget(self.proporciones,0,0,1,1)

        self.absolutos = QtGui.QCheckBox(self.groupBox_2)
        self.absolutos.setObjectName("absolutos")
        self.gridlayout1.addWidget(self.absolutos,1,0,1,1)

        spacerItem2 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem2,2,0,1,1)
        self.gridlayout.addWidget(self.groupBox_2,1,0,1,1)

        self.groupBox = QtGui.QGroupBox(Estadistica)
        self.groupBox.setObjectName("groupBox")

        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setMargin(3)
        self.gridlayout2.setSpacing(2)
        self.gridlayout2.setObjectName("gridlayout2")

        self.promedio = QtGui.QCheckBox(self.groupBox)
        self.promedio.setObjectName("promedio")
        self.gridlayout2.addWidget(self.promedio,0,0,1,1)

        self.max = QtGui.QCheckBox(self.groupBox)
        self.max.setObjectName("max")
        self.gridlayout2.addWidget(self.max,0,1,1,1)

        self.desvest = QtGui.QCheckBox(self.groupBox)
        self.desvest.setObjectName("desvest")
        self.gridlayout2.addWidget(self.desvest,1,0,1,1)

        self.min = QtGui.QCheckBox(self.groupBox)
        self.min.setObjectName("min")
        self.gridlayout2.addWidget(self.min,1,1,1,1)

        self.moda = QtGui.QCheckBox(self.groupBox)
        self.moda.setObjectName("moda")
        self.gridlayout2.addWidget(self.moda,2,0,1,1)

        self.p25 = QtGui.QCheckBox(self.groupBox)
        self.p25.setObjectName("p25")
        self.gridlayout2.addWidget(self.p25,2,1,1,1)

        self.mediana = QtGui.QCheckBox(self.groupBox)
        self.mediana.setObjectName("mediana")
        self.gridlayout2.addWidget(self.mediana,3,0,1,1)

        self.p75 = QtGui.QCheckBox(self.groupBox)
        self.p75.setObjectName("p75")
        self.gridlayout2.addWidget(self.p75,3,1,1,1)
        self.gridlayout.addWidget(self.groupBox,1,1,1,1)

        self.groupBox_3 = QtGui.QGroupBox(Estadistica)
        self.groupBox_3.setObjectName("groupBox_3")

        self.gridlayout3 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout3.setMargin(3)
        self.gridlayout3.setSpacing(2)
        self.gridlayout3.setObjectName("gridlayout3")

        self.porTodos = QtGui.QCheckBox(self.groupBox_3)
        self.porTodos.setObjectName("porTodos")
        self.gridlayout3.addWidget(self.porTodos,0,0,1,1)

        self.porEfecto = QtGui.QCheckBox(self.groupBox_3)
        self.porEfecto.setObjectName("porEfecto")
        self.gridlayout3.addWidget(self.porEfecto,1,0,1,1)

        spacerItem3 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem3,2,0,1,1)
        self.gridlayout.addWidget(self.groupBox_3,1,2,1,1)

        self.vboxlayout3 = QtGui.QVBoxLayout()
        self.vboxlayout3.setObjectName("vboxlayout3")

        spacerItem4 = QtGui.QSpacerItem(20,18,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout3.addItem(spacerItem4)

        self.btnAceptar = QtGui.QPushButton(Estadistica)
        self.btnAceptar.setObjectName("btnAceptar")
        self.vboxlayout3.addWidget(self.btnAceptar)

        self.btnCancelar = QtGui.QPushButton(Estadistica)
        self.btnCancelar.setObjectName("btnCancelar")
        self.vboxlayout3.addWidget(self.btnCancelar)

        self.btnAyuda = QtGui.QPushButton(Estadistica)
        self.btnAyuda.setObjectName("btnAyuda")
        self.vboxlayout3.addWidget(self.btnAyuda)
        self.gridlayout.addLayout(self.vboxlayout3,1,3,1,1)

        self.retranslateUi(Estadistica)
        QtCore.QMetaObject.connectSlotsByName(Estadistica)

    def retranslateUi(self, Estadistica):
        Estadistica.setWindowTitle(QtGui.QApplication.translate("Estadistica", "IIBSoft - Cálculos estadísticos", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Estadistica", "Variables disponibles", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAgregar.setText(QtGui.QApplication.translate("Estadistica", ">>", None, QtGui.QApplication.UnicodeUTF8))
        self.btnEliminar.setText(QtGui.QApplication.translate("Estadistica", "<<", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Estadistica", "Variables seleccionadas", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("Estadistica", "Tipo de datos", None, QtGui.QApplication.UnicodeUTF8))
        self.proporciones.setText(QtGui.QApplication.translate("Estadistica", "Proporciones", None, QtGui.QApplication.UnicodeUTF8))
        self.absolutos.setText(QtGui.QApplication.translate("Estadistica", "Valores absolutos", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("Estadistica", "Cálculos estadísticos", None, QtGui.QApplication.UnicodeUTF8))
        self.promedio.setText(QtGui.QApplication.translate("Estadistica", "Promedio", None, QtGui.QApplication.UnicodeUTF8))
        self.max.setText(QtGui.QApplication.translate("Estadistica", "Máximo", None, QtGui.QApplication.UnicodeUTF8))
        self.desvest.setText(QtGui.QApplication.translate("Estadistica", "Desv. estándar", None, QtGui.QApplication.UnicodeUTF8))
        self.min.setText(QtGui.QApplication.translate("Estadistica", "Mínimo", None, QtGui.QApplication.UnicodeUTF8))
        self.moda.setText(QtGui.QApplication.translate("Estadistica", "Moda", None, QtGui.QApplication.UnicodeUTF8))
        self.p25.setText(QtGui.QApplication.translate("Estadistica", "Percentil 25", None, QtGui.QApplication.UnicodeUTF8))
        self.mediana.setText(QtGui.QApplication.translate("Estadistica", "Mediana", None, QtGui.QApplication.UnicodeUTF8))
        self.p75.setText(QtGui.QApplication.translate("Estadistica", "Percentil 75", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("Estadistica", "Agrupación", None, QtGui.QApplication.UnicodeUTF8))
        self.porTodos.setText(QtGui.QApplication.translate("Estadistica", "Todos los datos", None, QtGui.QApplication.UnicodeUTF8))
        self.porEfecto.setText(QtGui.QApplication.translate("Estadistica", "Por efecto", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAceptar.setText(QtGui.QApplication.translate("Estadistica", "Aceptar", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCancelar.setText(QtGui.QApplication.translate("Estadistica", "Cancelar", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAyuda.setText(QtGui.QApplication.translate("Estadistica", "Ayuda", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Estadistica = QtGui.QDialog()
    ui = Ui_Estadistica()
    ui.setupUi(Estadistica)
    Estadistica.show()
    sys.exit(app.exec_())
